package com.slofzx.nuoda.evaluation.sysTools.dto;


import com.slofzx.nuoda.common.dto.PageDTO;
import com.slofzx.nuoda.evaluation.sysTools.vo.CascadeVO;

import java.util.List;

/**
 * 项目中所用到的上下级关联关系表数据传递类
 *
 * @author nuoda
 * @since 2024-03-22 16:40:10
 */
public class CascadeDTO extends PageDTO {
    private static final long serialVersionUID = 736334768883442361L;
    private String id;
    private String name;
    private String source;
    private String type;
    private String parentSource;
    private String state;
    private Double sort;
    private String dictId;//字典ID
    private List<String> oilRegionList;
    private List<String> gasRegionList;
    private List<String> fieldList;

    public CascadeDTO() {
        //默认查询不分页
        this.pageSize = PageDTO.ALL;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getParentSource() {
        return parentSource;
    }

    public void setParentSource(String parentSource) {
        this.parentSource = parentSource;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Double getSort() {
        return sort;
    }

    public void setSort(Double sort) {
        this.sort = sort;
    }

    public String getDictId() {
        return dictId;
    }

    public void setDictId(String dictId) {
        this.dictId = dictId;
    }

    public List<String> getFieldList() {
        return fieldList;
    }

    public void setFieldList(List<String> fieldList) {
        this.fieldList = fieldList;
    }

    public List<String> getOilRegionList() {
        return oilRegionList;
    }

    public void setOilRegionList(List<String> oilRegionList) {
        this.oilRegionList = oilRegionList;
    }

    public List<String> getGasRegionList() {
        return gasRegionList;
    }

    public void setGasRegionList(List<String> gasRegionList) {
        this.gasRegionList = gasRegionList;
    }

    @Override
    public String toString() {
        return "CascadeDTO{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", source='" + source + '\'' +
                ", type='" + type + '\'' +
                ", parentSource='" + parentSource + '\'' +
                ", state='" + state + '\'' +
                ", sort=" + sort +
                ", dictId='" + dictId + '\'' +
                ", oilRegionList=" + oilRegionList +
                ", gasRegionList=" + gasRegionList +
                ", fieldList=" + fieldList +
                '}';
    }
}
